package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import cn.com.api.entity.ApiT_shipping;

//DAO
public interface ApiT_shippingMapperBase {

	// 根据id查看
	public ApiT_shipping findT_shippingById(
			@Param("shipping_id") Integer shipping_id);

	// 查看数据集
	@Select("SELECT * FROM t_shipping")
	public List<ApiT_shipping> findT_shippings();

	// 添加
	public void insertT_shipping(ApiT_shipping t_shipping);

	// 修改
	public void updateT_shipping(ApiT_shipping t_shipping);

	// 删除
	public int deleteT_shipping(@Param("shipping_id") Integer shipping_id);

}
